package com.hujia.hjsurprisemeal.repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hujia.hjsurprisemeal.model.Coupon;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CouponMapper extends BaseMapper<Coupon> {
    @Select("SELECT * FROM coupon")
    List<Coupon> getAllCoupons();
}